﻿namespace Behaviours.Events.EventBus
{
    public class Event
    {
        public Event(int eventType)
        {
            this.EventType = eventType;
        }
        public Event(int eventType,object payload)
        {
            this.EventType = eventType;
            this.Payload = payload;
        }

        public int EventType { get; }

        public object Payload { get ; }

    }
}